/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dto;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import sun.security.util.BigInt;

/**
 *
 * @author duonghung1369
 */
public class Order implements Serializable {
    private int id;
    private Date placed_date;
    private Date update_date;
    private Date delivered_date;
    private float shipping_charges;
    private boolean is_deleted;
    private String confirmation_string;
    private String note;
    private User user;
    private OrderStatus order_status;

    public Order() {
    }

    public Order(int id, Date placed_date, Date update_date, Date delivered_date, float shipping_charges, boolean is_deleted, String confirmation_string, String note, User user, OrderStatus order_status) {
        this.id = id;
        this.placed_date = placed_date;
        this.update_date = update_date;
        this.delivered_date = delivered_date;
        this.shipping_charges = shipping_charges;
        this.is_deleted = is_deleted;
        this.confirmation_string = confirmation_string;
        this.note = note;
        this.user = user;
        this.order_status = order_status;
    }   

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the placed_date
     */
    public Date getPlaced_date() {
        return placed_date;
    }

    /**
     * @param placed_date the placed_date to set
     */
    public void setPlaced_date(Date placed_date) {
        this.placed_date = placed_date;
    }

    /**
     * @return the update_date
     */
    public Date getUpdate_date() {
        return update_date;
    }

    /**
     * @param update_date the update_date to set
     */
    public void setUpdate_date(Date update_date) {
        this.update_date = update_date;
    }

    /**
     * @return the delivered_date
     */
    public Date getDelivered_date() {
        return delivered_date;
    }

    /**
     * @param delivered_date the delivered_date to set
     */
    public void setDelivered_date(Date delivered_date) {
        this.delivered_date = delivered_date;
    }

    /**
     * @return the shipping_charges
     */
    public float getShipping_charges() {
        return shipping_charges;
    }

    /**
     * @param shipping_charges the shipping_charges to set
     */
    public void setShipping_charges(float shipping_charges) {
        this.shipping_charges = shipping_charges;
    }

    /**
     * @return the is_deleted
     */
    public boolean isIs_deleted() {
        return is_deleted;
    }

    /**
     * @param is_deleted the is_deleted to set
     */
    public void setIs_deleted(boolean is_deleted) {
        this.is_deleted = is_deleted;
    }

    /**
     * @return the user
     */
    public User getUser() {
        return user;
    }

    /**
     * @param user the user to set
     */
    public void setUser(User user) {
        this.user = user;
    }

    /**
     * @return the order_status
     */
    public OrderStatus getOrder_status() {
        return order_status;
    }

    /**
     * @param order_status the order_status to set
     */
    public void setOrder_status(OrderStatus order_status) {
        this.order_status = order_status;
    }

    /**
     * @return the confirmation_string
     */
    public String getConfirmation_string() {
        return confirmation_string;
    }

    /**
     * @param confirmation_string the confirmation_string to set
     */
    public void setConfirmation_string(String confirmation_string) {
        this.confirmation_string = confirmation_string;
    }

    /**
     * @return the note
     */
    public String getNote() {
        return note;
    }

    /**
     * @param note the note to set
     */
    public void setNote(String note) {
        this.note = note;
    }

}
